package com.example.maple.ccsclient.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * Created by maple on 2016/6/12.
 */
public class CloseUtils {

	//关闭一些实现Closeable接口的类
	public static void closeQuietly(Closeable closeable){

		if(null != closeable){
			try{
				closeable.close();
			}catch (IOException e){
				e.printStackTrace();
			}
		}
	}
}
